<template>
	<view class="ban-item">
		<text :class="['iconfont',icon]"></text>
		<text class="title">{{title}}</text>
	</view>
</template>

<script>
	export default {
		name:"BanItem",
		props:['icon','title'],
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.ban-item{
	display: flex;
	flex-direction: column;
	align-items: center;
	.iconfont{
		font-size: 40rpx;
	}
	.title{
		margin-top: 15rpx;
	}
}
</style>